package com.example.test_01.model;

import org.litepal.crud.LitePalSupport;

import java.util.Date;
import java.util.List;

public class Orders extends LitePalSupport {
    private int id;
    private int seatNo;                 // 座位号
    private int customerNum;            // 顾客数
    private int status;                 // 状态
    private Date CreateTime;
    private Date UpdateTime;
    private Double sum;                 // 订单金额
    private List<Food> foodList;
    private int userId;

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public List<Food> getFoodList() {
        return foodList;
    }

    public void setFoodList(List<Food> foodList) {
        this.foodList = foodList;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getSeatNo() {
        return seatNo;
    }

    public void setSeatNo(int seatNo) {
        this.seatNo = seatNo;
    }

    public int getCustomerNum() {
        return customerNum;
    }

    public void setCustomerNum(int customerNum) {
        this.customerNum = customerNum;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return CreateTime;
    }

    public void setCreateTime(Date createTime) {
        CreateTime = createTime;
    }

    public Date getUpdateTime() {
        return UpdateTime;
    }

    public void setUpdateTime(Date updateTime) {
        UpdateTime = updateTime;
    }

    public Double getSum() {
        return sum;
    }

    public void setSum(Double sum) {
        this.sum = sum;
    }

    @Override
    public String toString() {
        return "Orders{" +
                "id=" + id +
                ", seatNo=" + seatNo +
                ", customerNum=" + customerNum +
                ", status=" + status +
                ", CreateTime=" + CreateTime +
                ", UpdateTime=" + UpdateTime +
                ", sum=" + sum +
                ", foodList=" + foodList +
                ", userId=" + userId +
                '}';
    }
}
